package cn.xawl.gulimall.product.feign;

import cn.xawl.common.to.es.SkuEsModel;
import cn.xawl.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author lh
 * @date 2020/08/15 16:28:02
 **/
@FeignClient("gulimall-search")
public interface SearchFeign {

    @PostMapping("/search/save/product")
    public R productSearchSave(@RequestBody List<SkuEsModel> skuEsModels);

}
